package com.example.a1.fannong.model;

import cn.personal.library.json.JsonField;

/**
 * Created by 1 on 2017/10/19.
 */

public class AddressEntity {
    @JsonField("id")
    private String id;
    @JsonField("name")
    private String name;
    @JsonField("address")
    private String address;
    @JsonField("tel")
    private String tel;
    @JsonField("is_default")
    private boolean is_default; //是否为默认地址
    @JsonField("detailed_address")
    private String detailed_address;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getTel() {
        return tel;
    }

    public void setTel(String tel) {
        this.tel = tel;
    }

    public String getDetailed_address() {
        return detailed_address;
    }

    public void setDetailed_address(String detailed_address) {
        this.detailed_address = detailed_address;
    }

    public boolean getIs_default() {
        return is_default;
    }

    public void setIs_default(boolean is_default) {
        this.is_default = is_default;
    }

    public AddressEntity(String id, String name, String address,String detailed_address, String tel, boolean is_default ) {
        this.id = id;
        this.name = name;
        this.address = address;
        this.tel = tel;
        this.is_default = is_default;
        this.detailed_address = detailed_address;
    }
}
